package com.dcm.bargain.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 砍价商品
 * @author:zhouyuhan
 * 时间: 2021/3/27 15:33
 */
@Data
public class BargainEntity implements Serializable {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 砍价图片
     */
    private String images;
    /**
     * 砍价名称
     */
    private String bargainName;
    /**
     * 砍价价格
     */
    private BigDecimal bargainPrice;
    /**
     * 最低价格
     */
    private BigDecimal lowPrice;
    /**
     * 参与人数
     */
    private Integer person;
    /**
     * 帮忙砍价的人数
     */
    private Integer bargainPerson;
    /**
     * 砍价成功的人数
     */
    private Integer successPerson;
    /**
     * 限量
     */
    private Integer astrict;
    /**
     * 限量剩余
     */
    private Integer astrictResidue;

    /**
     * 结束时间
     * @return
     */
    private Date endTime;

    /**
     * 砍状态
     * @return
     */
    private Integer status;

    /**
     * 预计多少人砍成
     */
    private Integer count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getBargainName() {
        return bargainName;
    }


    public BigDecimal getBargainPrice() {
        return bargainPrice;
    }

    public void setBargainPrice(BigDecimal bargainPrice) {
        this.bargainPrice = bargainPrice;
    }

    public BigDecimal getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(BigDecimal lowPrice) {
        this.lowPrice = lowPrice;
    }

    public Integer getPerson() {
        return person;
    }

    public void setPerson(Integer person) {
        this.person = person;
    }

    public Integer getBargainPerson() {
        return bargainPerson;
    }

    public void setBargainPerson(Integer bargainPerson) {
        this.bargainPerson = bargainPerson;
    }

    public Integer getSuccessPerson() {
        return successPerson;
    }

    public void setSuccessPerson(Integer successPerson) {
        this.successPerson = successPerson;
    }

    public Integer getAstrict() {
        return astrict;
    }

    public void setAstrict(Integer astrict) {
        this.astrict = astrict;
    }

    public Integer getAstrictResidue() {
        return astrictResidue;
    }

    public void setAstrictResidue(Integer astrictResidue) {
        this.astrictResidue = astrictResidue;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
